﻿@using ENail.Portal.Web.Code
@using ENail.Domain.Core

	<div id="header" >
		<div id="logo"> @Html.ActionImage("Home", "Index", "", null, "ENail.com", @Url.Images("enaillogo.png"), null)</div>
		<div id="nailinfo">
			<p class="header1">@(HttpContext.Current.User.Identity.IsAuthenticated && ((User)HttpContext.Current.User).NailSalon != null
                                        ? ((User)HttpContext.Current.User).NailSalon.Name 
                                        : "")
                                @*@if(@Model!=null)
                               {
                                    @Model.NailSalonName
                               }
                               else
                               {
                                    @:Hello
                               }*@                                                        
            
            </p>
			<p class="header2">@(HttpContext.Current.User.Identity.IsAuthenticated ? HttpContext.Current.User.Identity.Name : "")</p>
			<p>&nbsp;</p>
			<p class="header2">@(HttpContext.Current.User.Identity.IsAuthenticated ? Html.ActionLink("Log Out", "LogOff", "Login") : Html.DisplayText(""))</p>
		</div>
	</div>
    <div class="clear" style="height:0px;margin-top:0px"></div>

